<?php
$id = "Q04010239";

$cc = array("gaurav.pruthi@tcs.com" , "gaurav.pruthi@tcs.com" , "gaurav.pruthi@tcs.com" , "gaurav.pruthi@tcs.com" , "gaurav.pruthi@tcs.com");
$to = "gaurav.pruthi@tcs.com";
$subject = "My subject";
$txt = "Hi , "."\n\n"."The Status of CR : ".$id." has been changed to : "."Pending Internal IDCE "."Please take appropriate action"."\n\n\n"."Regards ,"."\n"."iVSE - WebChecklist Messenger"
."\n\n"."In case of concerns :"."\n"."mailto:gaurav.pruthi@tcs.com"."\n"."ESN : 3048";
$headers = 'From: "WebChecklist Notification" <WebChecklist_Message_Broker@tcs.com>' . "\r\n" .
"CC:".$cc[0]." , ".$cc[1]." , ".$cc[2]." , ".$cc[3]." , ".$cc[4];

if( mail($to,$subject,$txt,$headers)) 
echo "Message was sent successfully";
?> 